/**
 * @author Maximilian Csuk
 * @author Konrad Paumann
 * @author Bernhard Denner
 */

public class MyInteger implements Number {
	private final int value;
	
	public MyInteger(int value) {
		this.value = value;
	}
	/**
	 * Returns the value
	 */
	public int getValue() {
		return value;
	}
	/**
	 * Returns the result of the evaluation
	 */
	public Number eval() {
		return this;
	}
	/**
	 * Returns the string representation
	 */
	public String toString() {
		return Integer.toString(value);
	}
}
